let mongoose=require('mongoose');
let excerciseSchema=new mongoose.Schema({
     analysis:String,
     answer:Number,
     options:Array,
     pointId: {
        type:mongoose.SchemaTypes.ObjectId,
        ref:'pointDB'
     },
     score:Number,
     topics:String
})
let excerciseDB=mongoose.model('excerciseDB',excerciseSchema,'exercises');
module.exports=excerciseDB;